#define _CRT_SECURE_NO_WARNINGS 
#include"Stack.h"
int main()
{   
	Stack st;
	stackInit(&st);
	stackPush(&st, 1);
	stackPush(&st, 2);
	stackPush(&st, 3);
	stackPush(&st, 4);
	//while (!stackIsEmpty(&st))
	//{
	//	int tem = stackTop(&st);
	//	printf("%d ", tem);
	//	stackPop(&st);
	//}
	//printf("\n");
	int tem = stackTop(&st);
	printf("%d\n", tem);
	stackDestroy(&st);
	return 0;
}